(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{10978:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var a=n(11269),o=n(75190),i=n(85188),r=n(57611),s=n(2784),c=n(42670),l=n(75056),d=n(54887),p=n(51272),u=n.n(p),h=n(52322);function m(e){var t=e.oneLinkUrl,n=e.pageType,p=a.PageType[n].toUpperCase(),m=(0,s.useContext)(i.PageContext),f=m.webClientId,v=void 0===f?"":f,g=m.isMobile,_=function(){(0,a.reportWebAction)({pageType:n,webClientId:v,actionName:a.WebActionName.OpenInSnapchatCta})};return g?(0,h.jsxs)("div",{className:u().headerWrapper,children:[(0,h.jsx)("div",{className:u().snapchatLogoContainer,children:(0,h.jsx)("a",{href:l.CB,"data-testid":"ghostIcon",children:(0,h.jsx)(o.GhostIconFilled,{})})}),(0,h.jsx)("a",{href:t,className:u().mobileInstallButton,onClick:function(){_(),(0,r.incrementCounter)("".concat(d.m,".").concat(p,".Install.Click"))},children:(0,h.jsx)(c.Z,{id:"Ktumb9",defaultMessage:[{type:0,value:"Install"}]})})]}):(0,h.jsx)(h.Fragment,{})}},97513:function(e,t,n){"use strict";n.d(t,{eY:function(){return r},mu:function(){return i},rm:function(){return s},zY:function(){return c}});var a=n(26150);n(91157);var o=n(75056),i=function(e,t){if(e!==t){var n;null===(n=(0,a.getWindow)())||void 0===n||n.location.replace(o.CB+"/"+t+(0,a.getWindow)().location.pathname.replace(/^(\/([a-z]{2}-[A-Z]{2}|ar|es|pa|fil-PH|zh-Hans|zh-Hant))+/,"")+(0,a.getWindow)().location.search)}};function r(){var e,t=(null===(e=(0,a.getWindow)())||void 0===e?void 0:e.location.search)||"";return(0,a.isProd)()?"https://accounts.snapchat.com/plus/redeem"+t:(0,a.isProdMesh)()?"https://web-plus.mesh.sc-corp.net/plus/redeem"+t:"https://staging--web-plus.mesh.sc-corp.net/plus/redeem"+t}var s=function(){return new URL("/plus/plans","https://accounts.snapchat.com").toString()},c=function(){return new URL("/plus/redeem-options","https://accounts.snapchat.com").toString()}},33844:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return E},default:function(){return z}});var a=n(95235),o=n(10626),i=n(11269),r=n(71612),s=n(61733),c=n(85188),l=n(57611),d=n(71286),p=n(91157),u=n(97666),h=n(25112),m=n(2784),f=n(83112),v=n(52005),g=n(75190),_=n(34401),y=n(6277),C=n(42670),S=n(75056),w=n(54887),b=n(10978),x=n(5318),j=n.n(x),k=n(26150),D=n(81421),T=n.n(D),U=n(52322),I=n(34406);function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return N(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw i}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n